//
//  HZCategoryGoodsListHeadView.h
//  app
//
//  Created by 刘华舟 on 15/5/25.
//  Copyright (c) 2015年 hdaren. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HZCollectionView.h"
#import "HZCategoryGoodsListData.h"


static const NSInteger kMainViewHeight = kCategoryGoodsListMainViewHeight;

@protocol HZMallFindSearchNaviBarDelegate <NSObject>

@optional
- (void)mallFindSearchTap;
- (void)mallFindVoiceSearchTap;

@end

@interface HZCategoryGoodsListHeadView : UICollectionReusableView

@property (weak, nonatomic) id<HZMallFindSearchNaviBarDelegate> sDelegate;


@property (strong, nonatomic) UBTargetCaller* pageTappedCaller;

+ (instancetype)cellWithCollectionView:(HZCollectionView *)collectionView dequeueReusableSupplementaryViewOfKind:(NSString*)elementKind forIndexPath:(NSIndexPath *)indexPath;

-(id)initWithFrame:(CGRect)frame;

-(void)showTopPages:(NSArray*)topPages bottomPages:(NSArray *)bottomPages imageKey:(NSString*)imageKey;

@end
